/**
 * 
 */
package com.example.rabbitmqTest;
import org.hibernate.validator.constraints.NotBlank;  

import javax.validation.constraints.NotNull;  
import java.io.Serializable;  
import java.math.BigDecimal; 
/**
 * @author yanglei
 * 2018年1月15日
 */
public class ReceiptAddDto implements Serializable {  
	  
    //收款单编号  
    private String receiptNo;  
    //收款金额  
    @NotNull  
    private BigDecimal receiptPrice;  
    //收款日期  
    @NotBlank  
    private String receiptDateStr;  
    //客户id  
    @NotNull  
    private String customerId;  
  
    public String getReceiptNo() {  
        return receiptNo;  
    }  
  
    public void setReceiptNo(String receiptNo) {  
        this.receiptNo = receiptNo;  
    }  
  
    public BigDecimal getReceiptPrice() {  
        return receiptPrice;  
    }  
  
    public void setReceiptPrice(BigDecimal receiptPrice) {  
        this.receiptPrice = receiptPrice;  
    }  
  
    public String getReceiptDateStr() {  
        return receiptDateStr;  
    }  
  
    public void setReceiptDateStr(String receiptDateStr) {  
        this.receiptDateStr = receiptDateStr;  
    }  
  
    public String getCustomerId() {  
        return customerId;  
    }  
  
    public void setCustomerId(String customerId) {  
        this.customerId = customerId;  
    }  
  
    @Override  
    public String toString() {  
        return "ReceiptAddDto{" +  
                "receiptNo='" + receiptNo + '\'' +  
                ", receiptPrice=" + receiptPrice +  
                ", receiptDateStr=" + receiptDateStr +  
                ", customerId='" + customerId + '\'' +  
                '}';  
    }  
}  